package com.lemurian.bankdata.action.base;

import com.lemurian.bankdata.lite.logger.BankDataLogger;
import com.lemurian.bankdata.lite.utils.GeneralConstant;
import com.lemurian.bankdata.utils.BaseAction;
import com.lemurian.entity.Menu;
import com.opensymphony.xwork2.Preparable;
import com.opensymphony.xwork2.ValidationAware;

public class HomeAction extends BaseAction implements Preparable, ValidationAware{
	
	private static final long serialVersionUID = 1L;
	
	private BankDataLogger log = BankDataLogger.getLogger(HomeAction.class.getSimpleName());

	@Override
	public void prepare() throws Exception {
		log.info("SESSION MENU URL : "+((Menu) getSession().get(GeneralConstant.ACTIVE_MENU)).getUrl());
	}
	
	public String dashboard() {
		return SUCCESS;
	}
	
	public String invalidToken() {
		return SUCCESS;
	}
	
	public String privilage() {
		return SUCCESS;
	}
	
	public String pleaseWait() {
		return SUCCESS;
	}
	
	public String error() {
		return SUCCESS;
	}
	
	@Override
	public String add() {
		return SUCCESS;
	}

	@Override
	public String delete() {
		return SUCCESS;
	}

	@Override
	public String detail() {
		return SUCCESS;
	}

	@Override
	public String edit() {
		return SUCCESS;
	}

	@Override
	public String list() {
		return SUCCESS;
	}

	@Override
	public String save() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String update() {
		return SUCCESS;
	}

}